import javax.swing.*;
import javax.swing.event.*;
import java.awt.event.*;
import java.awt.*;


public class Thread13 extends Thread implements InterInterface{
	private int sle;
	private int exti = 0;
	private int suti = 0;
	public Thread13(String name) {
		super(name);
		sle = 1000;
	
	}
	public void run()
	{
		try {
			exti = Integer.parseInt(txf46.getText());
			for(int i = exti; i > 0 ;i--)
			{
			Thread.sleep(sle);
			txf46.setText(Integer.toString(i-1));
			}
			bt39.setEnabled(false);
			bt40.setEnabled(true);
			
			if(vone.getText().equals(""))
			vone.setText(Integer.toString(0));
			if(vtwo.getText().equals(""))
			vtwo.setText(Integer.toString(0));
			if(vthree.getText().equals(""))
			vthree.setText(Integer.toString(0));
			if(vfour.getText().equals(""))
			vfour.setText(Integer.toString(0));
			
			
		}
		catch(InterruptedException ie) {
			ie.printStackTrace();
		}
	}
}
